package com.wangxiaonan.berry.config;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 注册Feign客户端
 *
 * @Author: wangxiaonan
 * @Date: 2019/7/2
 **/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface FeignRepository {

    String value() default "";

    /**
     * 配置文件定义的url的key
     */
    String uriPropertyName() default "";
}
